package com.ktwlsoft.archivemanage.payload.businessInspect;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 业务检查新增-单位
 *
 * @author Name on 2023/6/26 10:37
 * @version 1.0
 */
@ApiModel("业务检查新增-单位")
@Data
public class BusinessSelfOrRepeatInspectUnitRequest {


    /**立档单位id**/
    @ApiModelProperty("立档单位id")
    @NotNull(message = "立档单位id不能为空")
    private Long unitId;

    /**立档单位**/
    @ApiModelProperty("立档单位")
    @NotNull(message = "立档单位不能为空")
    private String unitName;

    /**单位位置**/
    @ApiModelProperty("单位位置")
    private String unitAddress;
}